package com.dao.lx;

import org.springframework.data.jpa.repository.Query;
import org.springframework.data.repository.CrudRepository;

import com.entity.Detection;
import com.entity.Repairorder;

public interface DetectionDAO extends CrudRepository<Detection, Long>{
	@Query("from Detection d where d.repairorder like ?1")
	public Detection findByRepairorder(Repairorder repairorder);
}